<template>
  <div>
    <el-tabs v-model="activeName" @tab-click="handleClick" style="margin-top: 10px">
      <el-tab-pane label="活动" name="activity"><aa></aa></el-tab-pane>
      <el-tab-pane label="资源" name="resource"><ra></ra></el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
  import ActivityApprove from '@/components/coursemanage/ActivityApprove'
  import ResourceApprove from '@/components/coursemanage/ResourceApprove'
  export default {
    data() {
      return {
        activeName: 'activity'
      };
    },
    methods: {
      handleClick(tab, event) {
        //console.log(tab, event);
      }
    },
    components:{
      'aa':ActivityApprove,
      'ra':ResourceApprove,
    }
  };
</script>
